package icegps.com.pingdj.map.utils;

public class MathUtils {
    /**
     * 计算两点距离
     */
    public static double calculateTowPoinsDistance(double x1, double y1, double x2, double y2) {
        return Math.sqrt(Math.pow((x1 - x2), 2.0) + Math.pow((y1 - y2), 2.0));
    }
}
